package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
@ApiModel
public class Card {
    @ApiModelProperty(hidden = true)
    private Integer cardId;
    @ApiModelProperty(name = "cardType",notes = "充值类型（充值卡类型（月卡  季卡  半年卡 年卡））",dataType = "String",required = true)
    private String cardType;//充值名称
    @ApiModelProperty(name = "cardMoney",notes = "充值金额",required = true)
    private Double cardMoney;//充值金额
    @ApiModelProperty(name = "cardMembervalidity",notes = "会员有效期 /天",required = true)
    private Integer cardMembervalidity;//会员有效期
    @ApiModelProperty(name = "cardVirtualmoney",notes = "充值金额",required = true)
    private Double cardVirtualmoney;//给予医生每日奖励
    @ApiModelProperty(hidden = true)
    private Date cardCreatetime;//创建时间


    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Double getCardMoney() {
        return cardMoney;
    }

    public void setCardMoney(Double cardMoney) {
        this.cardMoney = cardMoney;
    }

    public Integer getCardMembervalidity() {
        return cardMembervalidity;
    }

    public void setCardMembervalidity(Integer cardMembervalidity) {
        this.cardMembervalidity = cardMembervalidity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column card.card_virtualMoney
     *
     * @return the value of card.card_virtualMoney
     *
     * @mbg.generated
     */
    public Double getCardVirtualmoney() {
        return cardVirtualmoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column card.card_virtualMoney
     *
     * @param cardVirtualmoney the value for card.card_virtualMoney
     *
     * @mbg.generated
     */
    public void setCardVirtualmoney(Double cardVirtualmoney) {
        this.cardVirtualmoney = cardVirtualmoney;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column card.card_createTime
     *
     * @return the value of card.card_createTime
     *
     * @mbg.generated
     */
    public Date getCardCreatetime() {
        return cardCreatetime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column card.card_createTime
     *
     * @param cardCreatetime the value for card.card_createTime
     *
     * @mbg.generated
     */
    public void setCardCreatetime(Date cardCreatetime) {
        this.cardCreatetime = cardCreatetime;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }
}
